//
//  NewFeatureView.swift
//  weibobo
//
//  Created by 丁超人 on 16/2/27.
//  Copyright © 2016年 丁超人. All rights reserved.
//

import UIKit
/// 新特性视图
class NewFeatureView: UIView {

    override init(frame: CGRect) {
        super.init(frame:  UIScreen.mainScreen().bounds)
        self.backgroundColor = UIColor.orangeColor()
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    deinit {
        print("\(classForCoder) \(__FUNCTION__)")
    }
    
    override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) {
        removeFromSuperview()
    }

}
